#include "Arduino.h"

// PB14 - PB18
int led[5] = {32 | 14, 32 | 15, 32 | 16, 32 | 17, 32 | 18};
int cnt = 0;

// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 115200 bits per second:
  Serial.begin(115200);
  // make the pushbutton's pin an input:
  for (int i = 0; i < 5; i++) {
    pinMode(led[i], OUTPUT);
    digitalWrite(led[i], 1);
  }
}

// the loop routine runs over and over again forever:
void loop() {
  for (int i = 0; i < 5; i++) {
    digitalWrite(led[i], 0);
    delay(500);
    digitalWrite(led[i], 1);
    delay(500);
  }
  cnt++;
  Serial.print("toggle count: ");
  Serial.println(cnt);
}
